﻿@using CAF.WebSite.Application.WebUI.UI;
@using CAF.Infrastructure.Core;
@using CAF.WebSite.Application.WebUI;
@{
    Layout = "~/SellerAdministration/Views/Shared/_AdminRoot.cshtml";

    var currentUICulture = System.Threading.Thread.CurrentThread.CurrentUICulture;

    // resources
    var localizationService = EngineContext.Current.Resolve<CAF.WebSite.Application.Services.Localization.ILocalizationService>();
    var MediaRootPath = "~/Content/assets/";
    Html.AppendCssFileParts(false,
       MediaRootPath + "global/plugins/jquery-treetable/css/jquery.treetable.css",
       MediaRootPath + "global/plugins/jquery-treetable/css/jquery.treetable.theme.default.css",
       MediaRootPath + "global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css"
    );

    Html.AppendScriptParts(ResourceLocation.Head,
          MediaRootPath + "global/plugins/jquery-treetable/js/src/jquery.treetable.js",
         MediaRootPath + "global/plugins/datatables/media/js/jquery.dataTables.min.js",
         MediaRootPath + "global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.js",
        "~/Content/js/table-managed.js"
         );
}
@if (IsSectionDefined("header"))
{
    @RenderSection("header")
}
else
{
    if (IsSectionDefined("navbar"))
    {
        @RenderSection("navbar")
    }
    else
    {
        //  @Html.Partial("_Navbar")
    }

}

<!-- BEGIN CONTENT 内容 -->
<div class="cph">
    <div class="page-content">
        @RenderBody()
    </div>
</div>
<!-- END CONTENT -->
@if (IsSectionDefined("footer"))
{
    @RenderSection("footer")
}
else
{
    //  @Html.Partial("_Footer")
}
